/*******************************************************************************
 * Copyright (c) 2010, 2030 www.itlaobing.cn
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package cn.itlaobing.service;/**
 * Created by asus-pc on 2017/11/30 0030.
 */

import cn.itlaobing.dao.UserDao;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName: UserServiceImpl <br/>
 * Function: TODO 功能描述 <br/>
 * date: 2017/11/30 0030 17:42 <br/>
 *
 * @author 卖姑娘的小柴火
 * @since JDK 1.8
 */
@Service
public class UserServiceImpl implements UserService{
    Logger logger=Logger.getLogger(this.getClass());

    @Autowired
    private UserDao userDao;

    public void regiester(String name){
        logger.info("service >>>>regiester>>>>"+name);
        userDao.save(name);
    }
}
